type crypto/tls.alert
45 uses
crypto/tls (current package)
alert.go#L9: type alert uint8
alert.go#L18: alertCloseNotify alert = 0
alert.go#L19: alertUnexpectedMessage alert = 10
alert.go#L20: alertBadRecordMAC alert = 20
alert.go#L21: alertDecryptionFailed alert = 21
alert.go#L22: alertRecordOverflow alert = 22
alert.go#L23: alertDecompressionFailure alert = 30
alert.go#L24: alertHandshakeFailure alert = 40
alert.go#L25: alertBadCertificate alert = 42
alert.go#L26: alertUnsupportedCertificate alert = 43
alert.go#L27: alertCertificateRevoked alert = 44
alert.go#L28: alertCertificateExpired alert = 45
alert.go#L29: alertCertificateUnknown alert = 46
alert.go#L30: alertIllegalParameter alert = 47
alert.go#L31: alertUnknownCA alert = 48
alert.go#L32: alertAccessDenied alert = 49
alert.go#L33: alertDecodeError alert = 50
alert.go#L34: alertDecryptError alert = 51
alert.go#L35: alertExportRestriction alert = 60
alert.go#L36: alertProtocolVersion alert = 70
alert.go#L37: alertInsufficientSecurity alert = 71
alert.go#L38: alertInternalError alert = 80
alert.go#L39: alertInappropriateFallback alert = 86
alert.go#L40: alertUserCanceled alert = 90
alert.go#L41: alertNoRenegotiation alert = 100
alert.go#L42: alertMissingExtension alert = 109
alert.go#L43: alertUnsupportedExtension alert = 110
alert.go#L44: alertCertificateUnobtainable alert = 111
alert.go#L45: alertUnrecognizedName alert = 112
alert.go#L46: alertBadCertificateStatusResponse alert = 113
alert.go#L47: alertBadCertificateHashValue alert = 114
alert.go#L48: alertUnknownPSKIdentity alert = 115
alert.go#L49: alertCertificateRequired alert = 116
alert.go#L50: alertNoApplicationProtocol alert = 120
alert.go#L53: var alertText = map[alert]string{
alert.go#L89: func (e alert) String() string {
alert.go#L97: func (e alert) Error() string {
conn.go#L669: return c.in.setErrorLocked(c.sendAlert(err.(alert)))
conn.go#L698: if alert(data[1]) == alertCloseNotify {
conn.go#L702: return c.in.setErrorLocked(&net.OpError{Op: "remote error", Err: alert(data[1])})
conn.go#L709: return c.in.setErrorLocked(&net.OpError{Op: "remote error", Err: alert(data[1])})
conn.go#L734: return c.in.setErrorLocked(c.sendAlert(err.(alert)))
conn.go#L811: func (c *Conn) sendAlertLocked(err alert) error {
conn.go#L830: func (c *Conn) sendAlert(err alert) error {
conn.go#L996: return n, c.sendAlertLocked(err.(alert))
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)